package com.itheima.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * 预约设置
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderSetting implements Serializable{
    private Integer id ;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate;//预约设置日期
    private int number;//可预约人数
    private int reservations ;//已预约人数

}
